package com.example.understandvideo.controller;

import org.springframework.stereotype.Controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
@Controller
public class BasicController {

    /**
     * loginPage
     */

    @RequestMapping(value = "/", method = {RequestMethod.GET, RequestMethod.POST})
    public String list() {
        return "list"; // 明确指定路径（不推荐，但可用于定位问题）
    }


    @RequestMapping(value = "/demo", method = {RequestMethod.GET, RequestMethod.POST})
    public String demo() {
        return "list"; // 明确指定路径（不推荐，但可用于定位问题）
    }
}
